package com.cloud.auth.service;


import java.util.List;
import java.util.Map;

/**
 * @packageName: com.api.service.auth
 * @name: UserService
 * @description:
 * @author: 董定卓
 * @dateTime: 2019/6/13 17:32
 */
public interface UserService extends BaseService {

    /**
     * 用户登录
     *
     * @param map
     * @return
     */
    Map<String,Object> login(Map<String, Object> map);

    /**
     * 根据用户ID获取用户权限
     *
     * @param userId
     * @return
     */
    List<Map<String, Object>> listPermissionByUserId(String userId);

    /**
     * 修改个人基本信息(真实姓名等)
     *
     * @param map
     * @return
     */
    int updateUser(Map<String, Object> map);
}
